const Router = require("koa-router");
const router = new Router({ prefix: "/siteInclusion" });
const { auth,hasAdminPermission } = require("../middleware/auth.middleware");
const { getSiteInclusion,addSiteInclusion,updateSiteInclusion,deleteSiteInclusion } = require("../controller/siteInclusion/siteInclusion.controller");

router.get("/get-siteInclusion", getSiteInclusion);
router.post("/add-siteInclusion", addSiteInclusion);
router.put("/update-siteInclusion", auth,hasAdminPermission,updateSiteInclusion);
router.delete("/delete-siteInclusion", auth,hasAdminPermission,deleteSiteInclusion);

module.exports = router;
